package com.itheima.demo1;

import javax.xml.stream.XMLOutputFactory;

public class Practice {
    public static void main(String[] args) {
        int x=3;
        int y=4;
        //false & true
        System.out.println(++x>3 && y-- <5);
        System.out.println("x="+x); //4
        System.out.println("y="+y); //3
        int max=x>y?x:y;
        System.out.println(max);


    }
}
